package com.example.xianji.single;

import java.util.ArrayList;

import com.example.xianji.bean.YiJi_Class;

/**
 * 单例模式
 *
 * @author me
 */
public class Single {
    private static class CompanyInformationHolder {
        private static final Single Instance = new Single();
    }

    private Single() {
    }

    public static final Single getInstance() {
        return CompanyInformationHolder.Instance;
    }

    private ArrayList<YiJi_Class> list;

    public ArrayList<YiJi_Class> getList() {
        return list;
    }

    public void setList(ArrayList<YiJi_Class> list) {
        this.list = list;
    }


}
